import {
  validatePresence,
  validateLength,
  validateConfirmation,
  validateFormat
} from 'ember-changeset-validations/validators';

export default {


  advName: [
    validatePresence({ presence: true, message: '预订人姓名不能为空' })
  ],
  advTel:[
    validatePresence({ presence: true, message: '预订人电话不能为空' })
  ],
  orderBed:[
    validatePresence({ presence: true, message: '预定床位不能为空' })
  ],
  orderStaff:[
    validatePresence({ presence: true, message: '经办人不能为空' })
  ],
  orderMoney:[
    validatePresence({ presence: true, message: '保证金不能为空' })
  ],
  cusSex:[
    validatePresence({ presence: true, message: '性别不能为空' })
  ],
  cusEdu:[
    validatePresence({ presence: true, message: '文化程度不能为空' })
  ],
  cusName:[
    validatePresence({ presence: true, message: '老人姓名不能为空' })
  ],
  cusCare:[
    validatePresence({ presence: true, message: '自理等级不能为空' })
  ],
  cusNative:[
    validatePresence({ presence: true, message: '老人籍贯不能为空' })
  ],
  cusCardCode:[
    validatePresence({ presence: true, message: '身份证号不能为空' })

  ],
};
